package cn.cqie.frame.bo.update;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author 谢一弘
 * @date 2021/9/2  15:30
 */
@Data
@ApiModel("启用/停用用户")
public class UpdateUserStatusReqBo implements Serializable {

    @NotBlank(message = "用户ID不能为空")
    @ApiModelProperty(required = true, value = "用户ID")
    private Integer id;

    @ApiModelProperty(required = true, value = "状态，参见YesOrNo枚举")
    private String status;
}
